﻿<%@ Page Language="C#" MasterPageFile="~/Shared/FormPage.Master" AutoEventWireup="true" CodeBehind="CustomerAccount.aspx.cs" Inherits="Runda.CMS.Portal.Customer.CustomerAccount" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Content/Tab/tabs.css" rel="stylesheet" type="text/css" /> 
 <script type="text/javascript">
     function CheckForm() {
         if (document.getElementById('<%=txtAccount.ClientID %>').value == '') {
             alert('请输入用户帐号!');
             document.getElementById('<%=txtAccount.ClientID %>').focus();
                return false;
            }

            if (document.getElementById('<%=txtPassword.ClientID %>').value == '') {
                document.getElementById('<%=txtPassword.ClientID %>').focus();
                alert('请输入密码!');
                return false;
            }

            if (document.getElementById('<%=txtPassword2.ClientID %>').value == '') {
                document.getElementById('<%=txtPassword2.ClientID %>').focus();
                alert('请输入确认密码!');
                return false;
            }

            if (document.getElementById('<%=txtPassword2.ClientID %>').value != document.getElementById('<%=txtPassword.ClientID %>').value) {
                alert('两次密码输入不一致!');
                return false;
            }
        }               
 </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphFormArea" runat="server">
   <table class="mnubar" cellspacing="0" cellpadding="0">
        <tbody>
            <tr>
                <td width="9">
                    <img hspace="3" src="../Content/Menu/mnu_vSpacer.gif">
                </td>
                <td class="icMenu" nowrap>
                    
                    <asp:LinkButton ID="lnkbtnSaveAndClose" runat="server" onclick="lnkbtnSaveAndClose_Click" OnClientClick="return CheckForm();"><span class="menu" title="保存&amp;关闭" onclick="window.execScript(this.action);"><img class="mnuBtn" src="../Content/Menu/SaveClose_16_blue.gif"><span class="mnuBtn">保存&amp;关闭</span></span></asp:LinkButton>
                   
                    <span class="menu" title="关闭" onclick="window.close();"><img class="mnuBtn" src="../Content/Menu/Close_16_blue.gif"><span class="mnuBtn">关闭</span></span>
                </td>
            </tr>
        </tbody>
    </table>
   
   <div style="border-bottom: #c2c2bf 1px solid; border-top: #969693 1px solid"></div>
   
    <div id="areaForm" class="area">
        <table cellspacing="0" cellpadding="0" width="100%" height="100%">
            <tbody>
                <tr height="25">
                    <td>
                        <table class="tabBar" cellspacing="0" cellpadding="0">
                            <tbody>
                                <tr>
                                    <td id="appForm_tabs" valign="bottom" nowrap>
                                        <SPAN    class="tab tabOn" tabIndex=0   tabID="appForm_tab0">账户信息</SPAN> 
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <hr id="appForm_hrSelectedTab" class="tabGlow">
                        <hr id="appForm_hrGlowTab" class="tabGlow">
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <div style="display: inline" id="appForm_tab0" class="tab">
                            <table style="table-layout: fixed" id="Section1" cellspacing="0" cellpadding="3" width="100%">
                                <colgroup>
                                    <col width="60">
                                    <col>                                    
                                    </colgroup>
                                    <tbody>
                                        <tr>
                                            <td class="req">
                                                用户帐号
                                            </td>
                                            <td>
                                            <asp:TextBox ID="AccountId" runat="server" CssClass="input" MaxLength="20" Visible="false"></asp:TextBox> 
                                                <asp:TextBox ID="txtAccount" runat="server" CssClass="input" MaxLength="20"></asp:TextBox> 
                                            </td>                                           
                                        </tr>                                       
                                         <tr>
                                            <td class="req">重置密码
                                            </td>
                                            <td><asp:TextBox ID="txtPassword" runat="server" CssClass="input"  MaxLength="20"
                                                    TextMode="Password"  ></asp:TextBox> 
                                             </td>
                                        </tr>
                                        <tr>     
                                              <td class="req">确认密码
                                            </td>
                                            <td><asp:TextBox ID="txtPassword2" runat="server" CssClass="input" MaxLength="20"
                                                    TextMode="Password" ></asp:TextBox> 
                                             </td>
                                        </tr>                                                                                           
                                    </tbody>
                            </table>
                        </div>                     
                    </td>
                </tr>
            </tbody>
        </table>
    </div> 
    
</asp:Content>